package com.interactiveyang.meet;

import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.widget.Toast;

import com.google.android.maps.MapView;

public class OthersMapMarker extends SelfMapMarker {

	public OthersMapMarker(Drawable defaultMarker, MapView mapView) {
		super(defaultMarker, mapView);
	}
	
	
	@Override
	protected boolean onBalloonTap(int index) {
		Intent i = new Intent();
		i.setClass(mContext, OtherShoutPage.class);
		i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
		i.putExtra("username", MapPage.userInfo.userInfo.get(index).username);
		mContext.startActivity(i);

		return true;
	}
}
